package com.ruoyi.bizsys.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户减免订单记录对象 cust_reduce_order
 *
 * @author wqg
 * @date 2022-04-07
 */

@Data
public class CustReduceOrder extends BaseEntity {
    private static final long serialVersionUID=1L;
    /** PK */
    @Excel(name = "${comment}" , readConverterExp = "PK")
    @TableId(type = IdType.INPUT)
    private Long id;
    /** 还款流水号 */
    @Excel(name = "还款流水号")
    private String repaymentNo;
    /** 客户号 */
    @Excel(name = "客户号")
    private String custNo;
    /** 还款渠道，Quick repay、其他 */
    @Excel(name = "还款渠道，Quick repay、其他")
    private String actionType;
    /** 应还本金下限 */
    @Excel(name = "应还本金下限")
    private BigDecimal repaymentAmtMin;
    /** 减免次数上限 */
    @Excel(name = "减免次数上限")
    private Integer numLimit;
    /** 比例 */
    @Excel(name = "比例")
    private BigDecimal rate;
    /** 截止日期<=23点57 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "截止日期<=23点57" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date dayLastAt;
    /** 减免最小金额10N */
    @Excel(name = "减免最小金额10N")
    private BigDecimal reduceAmtMin;
    /** 减免上限金额	默认0，大于就按照这个走 */
    @Excel(name = "减免上限金额	默认0，大于就按照这个走")
    private BigDecimal reduceAmtMax;
    /** iou服务费 */
    @Excel(name = "iou服务费")
    private BigDecimal serviceFee;
    /** 实际减免金额,也要对比10N */
    @Excel(name = "实际减免金额,也要对比10N")
    private BigDecimal currentReduceAmt;
    /** 和repaymentorder保持一致 */
    @Excel(name = "和repaymentorder保持一致")
    private Integer status;
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "和repaymentorder保持一致" , width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;
    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "和repaymentorder保持一致" , width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateTime;
                                                                                                                                                                                                                                                                                                                                                                }